﻿@model ElectrosLtd.Models.FilterFaultsModel

<script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm("FilterFaults", "Home"))
{
    @Html.ValidationSummary(true)
    <fieldset>

    <h3>Filter Faults</h3>
                              
        <div class="editor-label">
            @Html.LabelFor(model => model.FromDate) @Html.LabelFor(model => model.ToDate)
        </div>       

        <div class="editor-label">
            
        </div>
        @Html.TextBox("fromDate")
        @Html.TextBox("toDate")

        <p>
           <input type="submit" value="Filter Faults" />
        </p>
    </fieldset>
}


